import request from "@/utils/request"
export const getlist = () =>{
                //搜索页面数据接口
            return  request('https://bjwz.bwie.com/wipi/api/search?page=1&pageSize=12',{
                  method:'get',
                  headers: {
                    authorization: 'Bearer ' + localStorage.getItem('token'),
                  },
            })
}

      //删除接口
export const deletelist = (payload:any)=>{
  return request(`https://bjwz.bwie.com/wipi/api/search/${payload}`,{    //searchsou
    method:'delete',
   data:{
     payload
   }
  })
}



      //搜索接口
      export const searchsou = (params:any)=>{
        return request('https://bjwz.bwie.com/wipi/api/search?page=1&pageSize=12',{
          method:'get'
        })
      }
